aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/groups/[groupId]
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2023-12-14 17:15:28 -0500
committerSebastien Castiel <sebastien@castiel.me>2023-12-14 17:15:28 -0500
commitaa95497aab51de2a18785a0bc2e94f1d78afbd99 (patch)
treea725422bfb8a4293ad6d6bad8bd2e837034aab8e /src/app/groups/[groupId]
parent7e279a535d1722ce6e32a6b0c4a84b5639d8c859 (diff)
Improve design
Diffstat (limited to 'src/app/groups/[groupId]')
-rw-r--r--src/app/groups/[groupId]/group-tabs.tsx2
-rw-r--r--src/app/groups/[groupId]/layout.tsx4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/app/groups/[groupId]/group-tabs.tsx b/src/app/groups/[groupId]/group-tabs.tsx
index 28b4889..bd603cc 100644
--- a/src/app/groups/[groupId]/group-tabs.tsx
+++ b/src/app/groups/[groupId]/group-tabs.tsx
@@ -15,7 +15,7 @@ export function GroupTabs({ groupId }: Props) {
return (
<Tabs
value={value}
- className="mb-4 [&>*]:border"
+ className="[&>*]:border"
onValueChange={(value) => {
router.push(`/groups/${groupId}/${value}`)
}}
diff --git a/src/app/groups/[groupId]/layout.tsx b/src/app/groups/[groupId]/layout.tsx
index 07cf17f..3e649e7 100644
--- a/src/app/groups/[groupId]/layout.tsx
+++ b/src/app/groups/[groupId]/layout.tsx
@@ -35,8 +35,8 @@ export default async function GroupLayout({
return (
<>
- <div className="flex flex-col sm:flex-row justify-between">
- <h1 className="font-bold text-2xl mb-4">
+ <div className="flex flex-col sm:flex-row justify-between sm:items-center gap-3">
+ <h1 className="font-bold text-2xl">
<Link href={`/groups/${groupId}`}>{group.name}</Link>
</h1>